package cn.qingyun.gis.modules.enterprise.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author skb
 * @since 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("layer_data")
@ApiModel(value="LayerData对象", description="")
public class LayerData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "类型(6：小区，7：自然村，8：基站，9：分纤箱)")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "类型名称（小区，自然村，基站，分纤箱）")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty(value = "经度")
    @TableField("lon")
    private BigDecimal lon;

    @ApiModelProperty(value = "纬度")
    @TableField("lat")
    private BigDecimal lat;

    @ApiModelProperty(value = "面数据")
    @TableField("wkt")
    private String wkt;

    @ApiModelProperty(value = "归属网格编码")
    @TableField("grid_code")
    private String gridCode;

    @ApiModelProperty(value = "归属网格名称")
    @TableField("grid_name")
    private String gridName;

    @ApiModelProperty(value = "归属区县编码")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "归属区县名称")
    @TableField("district_name")
    private String districtName;

    @ApiModelProperty(value = "归属地市编码")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "归属地市名称")
    @TableField("city_name")
    private String cityName;


}
